home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_PICT / Testing / hex_tests / text=fontName.hex < prev    next >
Text File  |  1995-06-12  |  2KB  |  28 lines

  1. %
  2. %    This tests the new fontName opcode (2C).  We do this by printing the same text in two
  3. %    type faces using this opcode to set the typeface.
  4. %
  5. % header
  6. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  7. % end of app-specific header
  8. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  9. 0011 02FF                    % verson
  10. 0001 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  11. 0030 0000 0000 00FF 00FF        % draw bounding rect
  12. 0003 0022                    % New century schoolbook
  13. 000D 0018                    % set the size
  14. %
  15. %    Draw Some plain reference text
  16. %
  17. 002A 18 (This is some text!)
  18. %
  19. %    Set the font to Helvetica
  20. %
  21. 002C 000D 0015 (Helvetica)
  22. 002A 20 (This text is in Helvetica!)
  23. %
  24. %    Change the face again to Times.  This will require renaming when converted to NS
  25. %
  26. 002C 000A 0015 (Times)
  27. 002A 20 (This text is in Times!)
  28. 00FF    % end